thrift = require 'thrift'

module.exports = (settings) ->
	connection = thrift.createConnection settings.host, settings.port
	connection.on "connect", (err) ->
  console.log 'thrift server no start：' + err if err